//
//  CCDetailViewModel.h
//  Activity
//
//  Created by its on 15/5/18.
//  Copyright (c) 2015年 coco. All rights reserved.
//

#import <Foundation/Foundation.h>
#import <ReactiveCocoa/ReactiveCocoa.h>

@interface CCDetailViewModel : NSObject
@property (nonatomic, strong) NSArray *imageArray;
@property (nonatomic, strong) NSMutableAttributedString *attributeString;
@property (nonatomic, copy) NSString *activityid;
@property (nonatomic, copy) NSString *activityTitle;
@property (nonatomic, copy) NSString *commentCount;
@property (nonatomic, copy) NSString *favoriteCount;
@property (nonatomic, copy) NSString *authorId;
@property (nonatomic, strong) NSNumber *alreadyFavorite;
@property (nonatomic, assign) BOOL isfavoriting;
- (id) initWithActivityID:(NSString *)activityid activityAuthor:(NSString *)author;
- (RACSignal *) getdetail;
- (RACSignal *) favorite;
- (RACSignal *) cancelFavorite;
@end
